package HomeWork.HomeWork10.Worker;

/***/
public class Manager extends Person{
    private double bound;

    public Manager(double bound) {
        this.bound = bound;
    }

    public Manager(String name, double salary, double bound) {
        super(name, salary);
        this.bound = bound;
    }

    public double getBound() {
        return bound;
    }

    public void setBound(double bound) {
        this.bound = bound;
    }

    public void show() {
        super.show();
        System.out.println(" 奖金:"+bound);
    }
}
